from django.urls import path
from .views import (
    WechatLoginView, SmsVerificationView, SmsLoginView,
    CustomTokenRefreshView, CustomTokenVerifyView,
    TokenAutoRefreshView, TokenBlacklistView
)

app_name = 'auth_app'

urlpatterns = [
    path('wechat/login/', WechatLoginView.as_view(), name='wechat-login'),
    path('sms/verification/', SmsVerificationView.as_view(), name='sms-verification'),
    path('sms/login/', SmsLoginView.as_view(), name='sms-login'),
    path('token/refresh/', CustomTokenRefreshView.as_view(), name='token-refresh'),
    path('token/verify/', CustomTokenVerifyView.as_view(), name='token-verify'),
    path('token/auto-refresh/', TokenAutoRefreshView.as_view(), name='token-auto-refresh'),
    path('token/blacklist/', TokenBlacklistView.as_view(), name='token-blacklist'),
]